/*
 * DigitalSignal.h
 *
 *  Created on: Oct 25, 2017
 *      Author: david
 */

#ifndef DIGITALSIGNAL_H_
#define DIGITALSIGNAL_H_

#include "Complex.h"

class DigitalSignal {
public:
	DigitalSignal();
	virtual ~DigitalSignal();

	Complex GetValue( int idx )
	{
		return m_values[idx];
	}

	void SetValue( int idx, Complex cmp )
	{
		m_values[idx] = cmp;
	}

	void SetAsEOBJ( EOBJTYPE tp );
	DIRECTION ReadAsDir( void );
private:
	Complex m_values[NERVUS_CHAIN_COUNT];
};

#endif /* DIGITALSIGNAL_H_ */
